package com.bbs.service;

import com.bbs.entity.BBSPostCategory;

import java.util.List;

/**
 * @PackageName: com.bbs.service
 * @ClassName: IBBSPostCategoryService
 * @Description:
 * @Author: Rambo
 * @Data: 2024/6/4 15:48
 */
public interface IBBSPostCategoryService {
    /**
     * 获取所有帖子类别
     * @return
     */
    List<BBSPostCategory> getBBSPostCategories();

    /**
     * 通过分类ID获取帖子类别信息
     * @param categoryId 分类ID
     * @return
     */
    BBSPostCategory selectById(Integer categoryId);
}
